const Home = () => import('@/views/root/index') // 主页
const release = () => import('@/views/page/release/index') // 我的发布
const periodical = () => import('@/views/page/periodical/index') // 期刊
const journalism = () => import('@/views/page/journalism/index') // 新闻
const report = () => import('@/views/page/report/index') // 报告
const query = () => import('@/views/page/query/index') // 搜索
const feeds = () => import('@/views/page/feeds/index') // 

export default {
  path: '/page',
  meta: { title: 'page' },
  menu: true,
  component: Home,
  children: [
    {
      path: '/release',
      component: release,
      menu: true,
      meta: { title: '我的发布' }
    },
    {
      path: '/periodical',
      component: periodical,
      menu: true,
      meta: { title: '期刊', type: 0 }
    },
    {
      path: '/journalism',
      component: journalism,
      menu: true,
      meta: { title: '新闻', type: 1 }
    },
    {
      path: '/report',
      component: report,
      menu: true,
      meta: { title: '报告', type: 2 }
    },
    {
      path: '/query',
      component: query,
      menu: true,
      meta: { title: '搜索' }
    },
    {
      path: '/feeds',
      component: feeds,
      menu: true,
      meta: { title: '关注' }
    },
  ],
}
